package com.jml.dubbo.server.registr;


public class Test {
    public static void main(String[] args) {
        ServiceRegistration serviceRegistration = new ServiceRegistrationImpl();
        String jmlRpcAddres = "jml://192.168.111.11:8081/";
        serviceRegistration.registr("com.jml.api.service.UserService", jmlRpcAddres);

        // 我们的UserService中存在很多方法 发布几个地址
        /**
         * dubbo一个接口中存在多个方法 只会生成一个连接 jml://192.168.111.11:8081/
         * com.jml.api.service.UserService getUser delUser
         */

    }
}
